#include <gmlib/number/uint256.h>

#include <stdexcept>

using namespace number;

void test_uint256_cmp()
{
    uint256_t a, b;

    std::uint8_t a0_data[32] = {0x09,0x99,0x50,0xd8,0x36,0xf6,0x75,0xcc,0x81,0xe7,0x4e,0xf5,0xe8,0xe2,0x5d,0x94,0x0e,0xd9,0x04,0x75,0x95,0x31,0x98,0x5d,0x5d,0x9d,0xc9,0xf8,0x18,0x18,0xe8,0x11};
    std::uint8_t b0_data[32] = {0xf2,0x9d,0x0d,0xa9,0x95,0x3f,0x48,0xf1,0xa0,0x9f,0x76,0xb5,0xa1,0x70,0xb3,0x38,0x39,0x26,0x30,0x59,0xf2,0x8c,0x10,0x5d,0x1f,0xb1,0x7c,0x23,0x90,0xc1,0x92,0xcf};
    int          cmp0        = -1;
    uint256_from_bytes(a, a0_data);
    uint256_from_bytes(b, b0_data);
    if (uint256_cmp(a, b) != cmp0)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a1_data[32] = {0xdb,0xc4,0x96,0xcb,0x8e,0x81,0x97,0x3e,0x0b,0xec,0xd7,0xb0,0x38,0x98,0xd1,0x90,0xf9,0xeb,0xda,0xcc,0x0c,0xb1,0xe2,0x9c,0x65,0x8c,0xda,0x14,0x95,0xe6,0x0a,0xf5};
    std::uint8_t b1_data[32] = {0x5f,0x55,0x72,0x03,0x30,0x18,0x50,0xc5,0xa3,0x8f,0xd5,0x47,0x92,0x3a,0x73,0x69,0x94,0xe3,0xbf,0x91,0x1a,0x61,0xdb,0xe2,0x2e,0x44,0x15,0x8b,0xae,0x97,0xba,0x94};
    int          cmp1        = 1;
    uint256_from_bytes(a, a1_data);
    uint256_from_bytes(b, b1_data);
    if (uint256_cmp(a, b) != cmp1)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a2_data[32] = {0x5c,0x90,0xa9,0x58,0x74,0x03,0xe4,0x30,0xec,0x66,0xa7,0x87,0x95,0xe7,0x61,0xd1,0x77,0x31,0xaf,0x10,0x50,0x6b,0xf2,0xef,0xc6,0xf8,0x77,0x18,0x6d,0x76,0xb0,0x7e};
    std::uint8_t b2_data[32] = {0x93,0x0d,0x6e,0xaf,0x14,0xf4,0x73,0x3f,0x3e,0x7d,0x1b,0xfb,0xc7,0xa2,0xea,0x20,0xb2,0xf1,0x4c,0x94,0x2e,0x05,0x31,0x9a,0xcb,0x5c,0x74,0x27,0x3f,0x98,0xe2,0x77};
    int          cmp2        = -1;
    uint256_from_bytes(a, a2_data);
    uint256_from_bytes(b, b2_data);
    if (uint256_cmp(a, b) != cmp2)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a3_data[32] = {0xfa,0xec,0xbd,0x38,0x9b,0xe4,0xbc,0xfc,0x49,0xb6,0x4a,0x08,0x72,0xe6,0xcc,0x3a,0xba,0xbc,0xed,0x20,0x57,0xee,0x05,0xcd,0xe0,0x09,0x02,0xc7,0x7e,0xbf,0xf2,0x06};
    std::uint8_t b3_data[32] = {0xfa,0xec,0xbd,0x38,0x9b,0xe4,0xbc,0xfc,0x49,0xb6,0x4a,0x08,0x72,0xe6,0xcc,0x3a,0xba,0xbc,0xed,0x20,0x57,0xee,0x05,0xcd,0xe0,0x09,0x02,0xc7,0x7e,0xbf,0xf2,0x06};
    int          cmp3        = 0;
    uint256_from_bytes(a, a3_data);
    uint256_from_bytes(b, b3_data);
    if (uint256_cmp(a, b) != cmp3)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a4_data[32] = {0x58,0xd5,0x56,0x3d,0xab,0x2c,0xd3,0x1e,0xe3,0x15,0x12,0x88,0x62,0xc3,0x3a,0x4f,0xb7,0x74,0xeb,0x52,0x48,0xdb,0x40,0xaf,0x72,0x15,0x83,0x70,0xd2,0x69,0xa9,0xa5};
    std::uint8_t b4_data[32] = {0x58,0xd5,0x56,0x3d,0xab,0x2c,0xd3,0x1e,0xe3,0x15,0x12,0x88,0x62,0xc3,0x3a,0x4f,0xb7,0x74,0xeb,0x52,0x48,0xdb,0x40,0xaf,0x72,0x15,0x83,0x70,0xd2,0x69,0xa9,0xa5};
    int          cmp4        = 0;
    uint256_from_bytes(a, a4_data);
    uint256_from_bytes(b, b4_data);
    if (uint256_cmp(a, b) != cmp4)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a5_data[32] = {0x7f,0x1b,0x10,0x3c,0xdf,0x15,0x82,0xb0,0xea,0xb4,0x77,0xd2,0x64,0x15,0x47,0x9c,0x65,0xdc,0x9f,0x50,0x3f,0x63,0xaf,0x83,0xbd,0x05,0x61,0xe6,0x21,0x1c,0x70,0xcf};
    std::uint8_t b5_data[32] = {0xd1,0xbc,0x52,0xd9,0x23,0x0d,0x97,0x7e,0xe2,0x25,0x71,0x59,0x47,0x20,0x77,0x1f,0x8c,0xa8,0x18,0x11,0x66,0xd2,0x28,0x76,0x72,0xfd,0xf2,0x02,0x2a,0x96,0xfb,0x1a};
    int          cmp5        = -1;
    uint256_from_bytes(a, a5_data);
    uint256_from_bytes(b, b5_data);
    if (uint256_cmp(a, b) != cmp5)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a6_data[32] = {0x3b,0xbb,0xe9,0xea,0xa8,0x94,0x8c,0x89,0x3b,0x61,0x86,0x76,0x26,0xbb,0x7d,0xbd,0x2d,0x1c,0x9a,0xf0,0x15,0x3e,0x7c,0x2a,0x26,0xa2,0xc0,0xbd,0x3b,0x12,0x87,0xff};
    std::uint8_t b6_data[32] = {0x25,0x4b,0x0c,0x4e,0x01,0x0c,0x47,0x59,0x48,0x2c,0x9c,0xbc,0x43,0x43,0x5c,0xc5,0x2e,0xae,0x05,0xcf,0x96,0xd0,0xcc,0x5f,0xd4,0xc2,0x8c,0x2e,0x7c,0x26,0x84,0x7f};
    int          cmp6        = 1;
    uint256_from_bytes(a, a6_data);
    uint256_from_bytes(b, b6_data);
    if (uint256_cmp(a, b) != cmp6)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a7_data[32] = {0x65,0xe7,0xe4,0x23,0x64,0x72,0xf1,0xa3,0x8f,0x2c,0x6e,0xc8,0xcc,0x41,0x69,0xa3,0xae,0x3a,0x2b,0x7f,0xdf,0xe0,0x18,0x93,0xf3,0xae,0xd0,0xb6,0xc7,0xac,0x14,0x91};
    std::uint8_t b7_data[32] = {0x1a,0x35,0x8c,0xa0,0x0d,0x75,0x98,0x5d,0x99,0xc9,0x43,0x09,0x57,0x0d,0xc1,0x95,0x1c,0x24,0x42,0xf9,0x29,0x8c,0xb3,0xa5,0x70,0xcc,0xec,0x31,0x35,0x71,0x81,0x0a};
    int          cmp7        = 1;
    uint256_from_bytes(a, a7_data);
    uint256_from_bytes(b, b7_data);
    if (uint256_cmp(a, b) != cmp7)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a8_data[32] = {0xfa,0x52,0x9b,0xa3,0xfe,0x3b,0xfa,0xda,0x7c,0xf2,0x07,0x24,0xd9,0x53,0xee,0x26,0x1d,0x87,0xce,0xc3,0x1f,0x72,0x96,0xab,0x79,0x61,0xfd,0x92,0x5d,0x39,0xd0,0xa8};
    std::uint8_t b8_data[32] = {0xd8,0x6f,0x40,0xf6,0xb2,0x39,0xf3,0xc7,0x17,0x4c,0x77,0xa2,0xdd,0x02,0xde,0x92,0xa4,0x96,0x36,0xa2,0xfa,0x7f,0x0e,0xab,0x4c,0x4f,0x9b,0x06,0x87,0x32,0x2e,0x25};
    int          cmp8        = 1;
    uint256_from_bytes(a, a8_data);
    uint256_from_bytes(b, b8_data);
    if (uint256_cmp(a, b) != cmp8)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a9_data[32] = {0xcd,0xa6,0xc6,0xfd,0xbd,0x68,0x51,0x67,0x66,0x93,0x40,0x36,0xd1,0x7e,0x44,0x97,0x3d,0x48,0x82,0xa5,0xce,0x5b,0x2a,0x92,0x31,0xf5,0x17,0x07,0xda,0x45,0xe1,0x8a};
    std::uint8_t b9_data[32] = {0x58,0x22,0xcb,0x77,0xf4,0xde,0x2c,0x08,0x9a,0xea,0x64,0x29,0xb1,0x49,0x1e,0x24,0x31,0x92,0xb7,0x04,0x42,0x59,0x40,0x52,0x78,0xe4,0xb9,0x8d,0x47,0x87,0xf9,0x3b};
    int          cmp9        = 1;
    uint256_from_bytes(a, a9_data);
    uint256_from_bytes(b, b9_data);
    if (uint256_cmp(a, b) != cmp9)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a10_data[32] = {0x1a,0x26,0xf8,0x89,0x38,0x70,0x38,0x00,0x14,0x9e,0x25,0x9b,0x5d,0x58,0xc7,0x05,0xf9,0x79,0xd0,0x4a,0xf4,0x7a,0xeb,0xdd,0x59,0x7a,0x1e,0xcf,0xfc,0xf0,0x0f,0xec};
    std::uint8_t b10_data[32] = {0xa4,0xa4,0x5e,0xff,0xcc,0xb5,0x73,0xd9,0x58,0x10,0xd6,0x0e,0xa7,0x29,0x91,0xb9,0xe8,0xc1,0x47,0x43,0x7a,0xbe,0xc5,0x39,0x00,0x7d,0x10,0x34,0xd7,0x26,0xc8,0x6b};
    int          cmp10        = -1;
    uint256_from_bytes(a, a10_data);
    uint256_from_bytes(b, b10_data);
    if (uint256_cmp(a, b) != cmp10)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a11_data[32] = {0xb9,0x8c,0x67,0xc2,0x15,0xbd,0x44,0x8f,0xf2,0x61,0x49,0xed,0xbe,0x4c,0x5c,0xe6,0x66,0xc1,0x49,0x4e,0x76,0x91,0xb0,0x6f,0x65,0x55,0xab,0xfe,0xb8,0xc9,0x81,0x7a};
    std::uint8_t b11_data[32] = {0x36,0x78,0xbc,0x8d,0x40,0x78,0x3f,0x0a,0x07,0x2a,0x98,0xd2,0x36,0x06,0xde,0xfc,0xdf,0xb8,0x5c,0x0d,0xd3,0x7e,0xe9,0x15,0x31,0xde,0xc4,0xf4,0xdf,0x2a,0x8b,0x79};
    int          cmp11        = 1;
    uint256_from_bytes(a, a11_data);
    uint256_from_bytes(b, b11_data);
    if (uint256_cmp(a, b) != cmp11)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a12_data[32] = {0xd5,0x8d,0xcd,0xb4,0x6b,0x44,0x68,0x06,0x8b,0x5a,0xb3,0xee,0x42,0x65,0xbb,0x31,0x53,0x74,0x09,0x02,0x96,0x20,0xbf,0x0d,0xc3,0x80,0x84,0xa0,0x3d,0x93,0xfd,0x4c};
    std::uint8_t b12_data[32] = {0x8e,0x31,0x70,0x41,0x87,0xdd,0xae,0xb7,0x84,0xb2,0x80,0x54,0xae,0xad,0x44,0xb0,0x53,0x73,0x90,0xe5,0x0f,0xcf,0x31,0xca,0x8e,0x75,0x2f,0xdf,0x1e,0xce,0x61,0x5d};
    int          cmp12        = 1;
    uint256_from_bytes(a, a12_data);
    uint256_from_bytes(b, b12_data);
    if (uint256_cmp(a, b) != cmp12)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a13_data[32] = {0xc5,0xb2,0xe7,0x5a,0x0a,0xcd,0x8b,0xe1,0x46,0xe4,0x09,0x90,0x30,0xf9,0x70,0x58,0x3f,0x9d,0x52,0xf9,0x0e,0x8b,0xec,0x94,0x8f,0x6f,0x91,0x5f,0xe2,0x1b,0x37,0xca};
    std::uint8_t b13_data[32] = {0xc5,0xb2,0xe7,0x5a,0x0a,0xcd,0x8b,0xe1,0x46,0xe4,0x09,0x90,0x30,0xf9,0x70,0x58,0x3f,0x9d,0x52,0xf9,0x0e,0x8b,0xec,0x94,0x8f,0x6f,0x91,0x5f,0xe2,0x1b,0x37,0xca};
    int          cmp13        = 0;
    uint256_from_bytes(a, a13_data);
    uint256_from_bytes(b, b13_data);
    if (uint256_cmp(a, b) != cmp13)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a14_data[32] = {0x46,0xf5,0xa1,0xb4,0xb1,0x56,0xd1,0xad,0x33,0x0c,0x16,0xa3,0x83,0x1d,0x03,0xbf,0x9b,0x2b,0xd6,0xc0,0x81,0x6b,0xee,0x06,0xf9,0x2e,0x23,0x39,0x9c,0xce,0xa0,0x98};
    std::uint8_t b14_data[32] = {0x71,0x2e,0xa6,0xb3,0x64,0x71,0xfd,0xe4,0x1f,0x22,0x9d,0xd0,0x6a,0xa8,0xb9,0xe0,0x23,0x1b,0x3e,0x14,0x72,0x91,0x35,0xbd,0xd7,0x0a,0x39,0xd1,0x33,0xdc,0xd7,0x7f};
    int          cmp14        = -1;
    uint256_from_bytes(a, a14_data);
    uint256_from_bytes(b, b14_data);
    if (uint256_cmp(a, b) != cmp14)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a15_data[32] = {0xc8,0xb0,0x07,0xee,0x4d,0x82,0xfe,0xac,0xab,0x62,0x86,0xcd,0x36,0x72,0xd6,0xae,0x12,0xb8,0x0a,0xed,0x6d,0xa7,0x9a,0x87,0x3d,0x9a,0x80,0x79,0xab,0xd0,0xd7,0xfb};
    std::uint8_t b15_data[32] = {0xc8,0xb0,0x07,0xee,0x4d,0x82,0xfe,0xac,0xab,0x62,0x86,0xcd,0x36,0x72,0xd6,0xae,0x12,0xb8,0x0a,0xed,0x6d,0xa7,0x9a,0x87,0x3d,0x9a,0x80,0x79,0xab,0xd0,0xd7,0xfb};
    int          cmp15        = 0;
    uint256_from_bytes(a, a15_data);
    uint256_from_bytes(b, b15_data);
    if (uint256_cmp(a, b) != cmp15)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a16_data[32] = {0x18,0x18,0x9a,0xf4,0xf3,0xd7,0x4f,0x82,0xbf,0x26,0x8e,0xa0,0x38,0x36,0xe8,0x65,0x77,0xbd,0x89,0x1f,0xf7,0xb1,0x03,0xdf,0x23,0x23,0x1e,0x1e,0xe2,0x01,0x55,0x22};
    std::uint8_t b16_data[32] = {0x5b,0x4b,0x1b,0x75,0x32,0x1c,0x52,0x96,0x6b,0xd8,0xc6,0x76,0x56,0xd0,0x50,0xcd,0x67,0x60,0x13,0x67,0x83,0xfe,0xb1,0x7b,0xfe,0x7b,0x8a,0xe4,0x6e,0x78,0x36,0xa4};
    int          cmp16        = -1;
    uint256_from_bytes(a, a16_data);
    uint256_from_bytes(b, b16_data);
    if (uint256_cmp(a, b) != cmp16)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a17_data[32] = {0xb4,0x01,0xba,0x85,0x70,0xc1,0xdc,0xa1,0x75,0x6b,0x72,0x89,0x8d,0xd6,0x3c,0xb9,0x56,0x85,0xd6,0x24,0x04,0xfc,0xd5,0x55,0x5d,0xaf,0x10,0x6d,0xb8,0xde,0xe0,0x81};
    std::uint8_t b17_data[32] = {0x10,0x75,0x5c,0x97,0xf5,0xf5,0x54,0xed,0x83,0x23,0x9e,0xf5,0x4b,0xa2,0xe1,0x61,0x9f,0xb9,0xaf,0x50,0x84,0x76,0x8b,0x8c,0x54,0xdd,0x0b,0xa5,0x62,0x64,0x67,0xba};
    int          cmp17        = 1;
    uint256_from_bytes(a, a17_data);
    uint256_from_bytes(b, b17_data);
    if (uint256_cmp(a, b) != cmp17)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a18_data[32] = {0xb0,0x2e,0x3d,0x8d,0xcc,0xb1,0xc5,0x1d,0x0e,0xba,0x0e,0xa8,0x47,0x70,0xa0,0x87,0x16,0xe6,0xfe,0xc3,0x53,0xb9,0x73,0x77,0xb3,0x4e,0x8e,0xce,0x7e,0x9e,0xe5,0x1d};
    std::uint8_t b18_data[32] = {0xb0,0x2e,0x3d,0x8d,0xcc,0xb1,0xc5,0x1d,0x0e,0xba,0x0e,0xa8,0x47,0x70,0xa0,0x87,0x16,0xe6,0xfe,0xc3,0x53,0xb9,0x73,0x77,0xb3,0x4e,0x8e,0xce,0x7e,0x9e,0xe5,0x1d};
    int          cmp18        = 0;
    uint256_from_bytes(a, a18_data);
    uint256_from_bytes(b, b18_data);
    if (uint256_cmp(a, b) != cmp18)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a19_data[32] = {0xf8,0x1e,0x54,0xdd,0x1c,0x05,0x02,0xc6,0xf0,0x29,0x05,0x31,0x3d,0x0a,0x27,0x0b,0xb5,0xa4,0x32,0xcf,0x86,0xe3,0xe7,0x26,0x0b,0x0f,0x87,0x3b,0x21,0x14,0xe0,0x68};
    std::uint8_t b19_data[32] = {0x45,0x40,0xf4,0x26,0x2d,0x8a,0xd8,0xc0,0xac,0x12,0x7e,0x93,0x80,0x05,0xce,0x74,0x72,0x18,0x88,0xff,0x4a,0x3a,0xdf,0x99,0x34,0xb3,0xff,0x60,0xc2,0x6e,0x7a,0x42};
    int          cmp19        = 1;
    uint256_from_bytes(a, a19_data);
    uint256_from_bytes(b, b19_data);
    if (uint256_cmp(a, b) != cmp19)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a20_data[32] = {0xe1,0x3e,0x21,0x3e,0xbd,0xaa,0xea,0x00,0xa0,0x1d,0x61,0x6f,0x12,0x1a,0xe3,0xe6,0x03,0xa6,0x39,0x66,0x21,0x3b,0xca,0x7f,0xd6,0x44,0xde,0x2f,0x0d,0xec,0x68,0x23};
    std::uint8_t b20_data[32] = {0x0b,0x94,0xaf,0x3a,0x4b,0x05,0xe1,0xae,0xb1,0x53,0xd6,0x9c,0x3e,0x01,0xaa,0xa6,0x99,0x49,0x8a,0xc4,0x48,0x2c,0xc7,0x8e,0xf8,0x8e,0xde,0x10,0xab,0xa8,0xb9,0xb3};
    int          cmp20        = 1;
    uint256_from_bytes(a, a20_data);
    uint256_from_bytes(b, b20_data);
    if (uint256_cmp(a, b) != cmp20)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a21_data[32] = {0x4f,0x3e,0x88,0x5e,0xe1,0xe4,0x37,0xb7,0xf7,0x35,0xef,0xe6,0x08,0xd1,0x80,0x11,0x3e,0x94,0x0b,0xb4,0x52,0xd3,0x1e,0x1b,0x8c,0x0d,0x00,0x33,0xfc,0x23,0x25,0xa9};
    std::uint8_t b21_data[32] = {0x4c,0xb5,0x9a,0xa7,0x05,0xc2,0x2d,0x3f,0x64,0xdb,0xc8,0xd3,0x0a,0xaa,0xaf,0x81,0x96,0x38,0x92,0xa7,0x66,0x46,0x5d,0x28,0x24,0xd4,0x58,0x9c,0x16,0xfa,0x14,0x21};
    int          cmp21        = 1;
    uint256_from_bytes(a, a21_data);
    uint256_from_bytes(b, b21_data);
    if (uint256_cmp(a, b) != cmp21)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a22_data[32] = {0x25,0x0e,0x7b,0x34,0xa4,0xaa,0x07,0xb4,0x9e,0x63,0x97,0xd4,0xb9,0x62,0x45,0xd3,0x48,0xbf,0xcb,0xcf,0x26,0x43,0x37,0x98,0x7e,0x83,0x49,0x04,0xfc,0x17,0x34,0x98};
    std::uint8_t b22_data[32] = {0x0a,0xb7,0x79,0x88,0x07,0xfa,0x22,0xf7,0x15,0xc8,0x91,0xff,0x3a,0xdd,0x65,0x27,0xa4,0x94,0x6d,0x15,0xb1,0x7d,0xd2,0x55,0xf4,0xc1,0x82,0x26,0xae,0xd2,0x3b,0x0f};
    int          cmp22        = 1;
    uint256_from_bytes(a, a22_data);
    uint256_from_bytes(b, b22_data);
    if (uint256_cmp(a, b) != cmp22)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a23_data[32] = {0x00,0xd9,0x35,0x34,0x43,0x87,0xee,0x7b,0x7d,0x42,0x64,0x6f,0x3e,0x9b,0x76,0x8f,0xae,0x40,0x01,0xe3,0x88,0x0c,0xb4,0x01,0xa0,0x50,0x60,0x98,0x04,0xd2,0xbe,0x09};
    std::uint8_t b23_data[32] = {0xaf,0x06,0xbc,0xf7,0xe9,0x14,0x57,0xdb,0x7a,0xa0,0x68,0xf1,0x13,0xa5,0x39,0x7f,0x61,0xef,0x7b,0xd1,0xd8,0x74,0xbc,0x79,0x7e,0x73,0x6d,0x5f,0x75,0xd8,0xd8,0xa4};
    int          cmp23        = -1;
    uint256_from_bytes(a, a23_data);
    uint256_from_bytes(b, b23_data);
    if (uint256_cmp(a, b) != cmp23)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a24_data[32] = {0x54,0xef,0x12,0x5a,0x25,0xbd,0xa6,0x59,0x99,0x86,0x48,0xe0,0x13,0xd5,0x31,0x6f,0x32,0xc3,0x24,0x44,0xa4,0x8c,0x1d,0x5c,0xa1,0xfe,0xb6,0x24,0x9d,0xf2,0x02,0x5f};
    std::uint8_t b24_data[32] = {0x03,0x31,0x2e,0xad,0x22,0x29,0x30,0xae,0x91,0x58,0xd4,0xa8,0x9f,0x03,0xbc,0x5a,0x4d,0xee,0x48,0x12,0xb1,0x61,0x07,0xf1,0xbe,0x43,0x7c,0x7b,0xa6,0xca,0xf4,0xa3};
    int          cmp24        = 1;
    uint256_from_bytes(a, a24_data);
    uint256_from_bytes(b, b24_data);
    if (uint256_cmp(a, b) != cmp24)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a25_data[32] = {0xac,0xfb,0x2d,0x5e,0x37,0xba,0xc2,0x33,0xb1,0x33,0x0c,0x3f,0x19,0x7a,0x14,0xe2,0xac,0x08,0x4b,0xa5,0xf8,0xf6,0x59,0xac,0x44,0xce,0x4a,0xb3,0x7c,0x5d,0x42,0xdc};
    std::uint8_t b25_data[32] = {0xc4,0x65,0x3c,0xde,0x77,0x62,0x00,0xb5,0x77,0x45,0x10,0xca,0x76,0xf4,0x25,0x1e,0x49,0x19,0x61,0xa1,0x84,0x3b,0xae,0xe9,0xb5,0x78,0x90,0x9c,0x4a,0x75,0x91,0xf2};
    int          cmp25        = -1;
    uint256_from_bytes(a, a25_data);
    uint256_from_bytes(b, b25_data);
    if (uint256_cmp(a, b) != cmp25)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a26_data[32] = {0x4a,0x22,0x7f,0x39,0x04,0x7b,0x2c,0x10,0x79,0x12,0xef,0x4a,0xef,0xae,0x5d,0x4e,0x15,0xfa,0x8b,0x65,0xfa,0x66,0x72,0xcd,0x4f,0xc9,0xe9,0x18,0x33,0x02,0x0c,0xcd};
    std::uint8_t b26_data[32] = {0x44,0xc6,0xb8,0x95,0xfe,0x74,0x9e,0x67,0x73,0x0f,0x37,0xf1,0xfe,0x9e,0xb4,0xad,0xf7,0xd5,0xf1,0x24,0x81,0xb1,0xc0,0x25,0xd1,0xe4,0xd0,0xa3,0x13,0x93,0x29,0x04};
    int          cmp26        = 1;
    uint256_from_bytes(a, a26_data);
    uint256_from_bytes(b, b26_data);
    if (uint256_cmp(a, b) != cmp26)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a27_data[32] = {0xae,0x7c,0x8f,0x09,0x7d,0xdf,0xcb,0xc9,0xf3,0x30,0x8c,0xe5,0x00,0xeb,0x4e,0x11,0x28,0xb8,0x80,0x73,0x06,0x5b,0x8c,0x35,0x64,0xe2,0x76,0x02,0x7c,0x73,0xb6,0xc9};
    std::uint8_t b27_data[32] = {0xae,0x7c,0x8f,0x09,0x7d,0xdf,0xcb,0xc9,0xf3,0x30,0x8c,0xe5,0x00,0xeb,0x4e,0x11,0x28,0xb8,0x80,0x73,0x06,0x5b,0x8c,0x35,0x64,0xe2,0x76,0x02,0x7c,0x73,0xb6,0xc9};
    int          cmp27        = 0;
    uint256_from_bytes(a, a27_data);
    uint256_from_bytes(b, b27_data);
    if (uint256_cmp(a, b) != cmp27)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a28_data[32] = {0x5f,0x49,0xf0,0xfc,0x40,0xd2,0x84,0x06,0x4a,0x32,0x7e,0x2d,0xbd,0x6a,0x99,0x6d,0xe6,0xcd,0x10,0xf1,0x03,0x00,0x30,0x05,0xb6,0x88,0xb6,0x61,0x32,0x1c,0x17,0x44};
    std::uint8_t b28_data[32] = {0x5f,0x49,0xf0,0xfc,0x40,0xd2,0x84,0x06,0x4a,0x32,0x7e,0x2d,0xbd,0x6a,0x99,0x6d,0xe6,0xcd,0x10,0xf1,0x03,0x00,0x30,0x05,0xb6,0x88,0xb6,0x61,0x32,0x1c,0x17,0x44};
    int          cmp28        = 0;
    uint256_from_bytes(a, a28_data);
    uint256_from_bytes(b, b28_data);
    if (uint256_cmp(a, b) != cmp28)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a29_data[32] = {0x50,0xcb,0x40,0x7a,0x82,0xce,0x78,0x6f,0x6f,0xad,0x79,0x36,0x44,0x06,0xc0,0x53,0xf8,0x95,0xfc,0x55,0x3f,0xd3,0xbe,0x98,0x26,0x1f,0x40,0xdf,0xef,0x82,0xd1,0xa3};
    std::uint8_t b29_data[32] = {0xc0,0xae,0xd9,0xc5,0x9d,0x6b,0x02,0x3f,0x73,0x6b,0x96,0xa0,0x69,0x2f,0xd3,0x60,0xbb,0x7b,0x73,0x8e,0xee,0xf7,0x95,0xcd,0x0c,0xaa,0x76,0x12,0x14,0xa0,0xb0,0x0b};
    int          cmp29        = -1;
    uint256_from_bytes(a, a29_data);
    uint256_from_bytes(b, b29_data);
    if (uint256_cmp(a, b) != cmp29)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a30_data[32] = {0x20,0x97,0x79,0x8c,0x8c,0xd3,0xe4,0x18,0xed,0x41,0x42,0xba,0xe9,0x72,0x9f,0x3f,0x0c,0x89,0xc0,0x01,0x7c,0x4e,0xa6,0x03,0x49,0x44,0xf2,0xce,0xde,0x96,0x2a,0x6d};
    std::uint8_t b30_data[32] = {0x2c,0xb8,0xd1,0x4c,0x17,0x39,0x10,0xe3,0x3e,0x7c,0x65,0x67,0x31,0x41,0x97,0x75,0x8c,0x3b,0xa8,0x59,0x23,0xbc,0x91,0x52,0x6d,0x6b,0x98,0x7a,0x73,0x30,0x9b,0x95};
    int          cmp30        = -1;
    uint256_from_bytes(a, a30_data);
    uint256_from_bytes(b, b30_data);
    if (uint256_cmp(a, b) != cmp30)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a31_data[32] = {0x86,0x2f,0xe2,0x31,0xbe,0xef,0x67,0xfb,0x69,0xf4,0x46,0x12,0x62,0x01,0xa9,0xd3,0x69,0xac,0x0f,0x03,0xde,0xe0,0xa8,0x43,0xbf,0xe9,0x8f,0x8c,0x05,0x24,0x13,0x7f};
    std::uint8_t b31_data[32] = {0x86,0x2f,0xe2,0x31,0xbe,0xef,0x67,0xfb,0x69,0xf4,0x46,0x12,0x62,0x01,0xa9,0xd3,0x69,0xac,0x0f,0x03,0xde,0xe0,0xa8,0x43,0xbf,0xe9,0x8f,0x8c,0x05,0x24,0x13,0x7f};
    int          cmp31        = 0;
    uint256_from_bytes(a, a31_data);
    uint256_from_bytes(b, b31_data);
    if (uint256_cmp(a, b) != cmp31)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a32_data[32] = {0x20,0x93,0x42,0xca,0x05,0x95,0x5f,0xb9,0xf7,0xd1,0x7e,0xbd,0xdf,0x75,0xc8,0x83,0xd0,0x78,0x84,0xb7,0xd9,0x43,0x55,0x41,0x4f,0xe0,0x48,0x02,0xf4,0x35,0xa5,0x73};
    std::uint8_t b32_data[32] = {0x96,0x51,0x32,0xd6,0xf7,0xe1,0x47,0xfd,0x79,0x28,0x1c,0x19,0xcd,0xe3,0x47,0xab,0xe5,0x4c,0x5d,0xe6,0xc3,0x81,0x3c,0xe6,0xb5,0xa2,0x90,0x61,0x6c,0xd9,0xe6,0x2a};
    int          cmp32        = -1;
    uint256_from_bytes(a, a32_data);
    uint256_from_bytes(b, b32_data);
    if (uint256_cmp(a, b) != cmp32)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a33_data[32] = {0xda,0xff,0x9a,0x0b,0x87,0x21,0xec,0xf8,0xd3,0x59,0xd0,0x7a,0xed,0x9b,0xf0,0xb6,0xed,0x44,0x8d,0x4e,0xee,0x24,0x1c,0x43,0x64,0x3a,0xb9,0xe2,0x12,0xb9,0x2a,0x01};
    std::uint8_t b33_data[32] = {0xc3,0x8b,0x48,0xa2,0xb2,0xd6,0x43,0xa2,0x6f,0xfb,0x72,0x6a,0xa2,0xe3,0xf9,0x3a,0x87,0x3b,0x99,0x03,0x40,0x75,0x91,0x6e,0xa0,0x60,0x84,0x6c,0x20,0xc2,0x6f,0x71};
    int          cmp33        = 1;
    uint256_from_bytes(a, a33_data);
    uint256_from_bytes(b, b33_data);
    if (uint256_cmp(a, b) != cmp33)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a34_data[32] = {0x42,0xc9,0x27,0xb9,0x63,0x59,0x56,0xbe,0x31,0x13,0x5d,0xe9,0x95,0x38,0x57,0xd7,0xf1,0x8b,0xde,0x0e,0x86,0x41,0x7b,0x60,0x4c,0xe3,0xb0,0xcc,0x12,0x02,0x95,0x2f};
    std::uint8_t b34_data[32] = {0x42,0xc9,0x27,0xb9,0x63,0x59,0x56,0xbe,0x31,0x13,0x5d,0xe9,0x95,0x38,0x57,0xd7,0xf1,0x8b,0xde,0x0e,0x86,0x41,0x7b,0x60,0x4c,0xe3,0xb0,0xcc,0x12,0x02,0x95,0x2f};
    int          cmp34        = 0;
    uint256_from_bytes(a, a34_data);
    uint256_from_bytes(b, b34_data);
    if (uint256_cmp(a, b) != cmp34)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a35_data[32] = {0x8c,0x08,0x56,0xa4,0x3c,0x19,0xc3,0x15,0x86,0xba,0x22,0xdd,0x79,0xad,0x89,0x99,0x3e,0x0b,0x25,0xcd,0xe2,0x3f,0x03,0xcc,0xd6,0xe3,0xa7,0x1e,0xa5,0x02,0xe8,0xa8};
    std::uint8_t b35_data[32] = {0x8c,0x08,0x56,0xa4,0x3c,0x19,0xc3,0x15,0x86,0xba,0x22,0xdd,0x79,0xad,0x89,0x99,0x3e,0x0b,0x25,0xcd,0xe2,0x3f,0x03,0xcc,0xd6,0xe3,0xa7,0x1e,0xa5,0x02,0xe8,0xa8};
    int          cmp35        = 0;
    uint256_from_bytes(a, a35_data);
    uint256_from_bytes(b, b35_data);
    if (uint256_cmp(a, b) != cmp35)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a36_data[32] = {0xaa,0xd7,0xc7,0xc0,0x3a,0x53,0xc1,0x76,0x41,0xdb,0x89,0x8e,0x14,0xc2,0x73,0x2a,0x6b,0x86,0x29,0x0b,0xa5,0xac,0xd3,0x41,0xac,0xa9,0x9f,0xd0,0xe2,0x85,0x6e,0xc6};
    std::uint8_t b36_data[32] = {0xaa,0xd7,0xc7,0xc0,0x3a,0x53,0xc1,0x76,0x41,0xdb,0x89,0x8e,0x14,0xc2,0x73,0x2a,0x6b,0x86,0x29,0x0b,0xa5,0xac,0xd3,0x41,0xac,0xa9,0x9f,0xd0,0xe2,0x85,0x6e,0xc6};
    int          cmp36        = 0;
    uint256_from_bytes(a, a36_data);
    uint256_from_bytes(b, b36_data);
    if (uint256_cmp(a, b) != cmp36)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a37_data[32] = {0xd1,0xeb,0xd0,0x86,0xc4,0x0f,0x36,0x09,0x4f,0xcc,0x9a,0x5c,0x33,0x4e,0x51,0xaf,0xf8,0x48,0xa9,0x56,0x7e,0xe5,0xe8,0x57,0x34,0x89,0x34,0x98,0x11,0x43,0x40,0xff};
    std::uint8_t b37_data[32] = {0x0d,0xea,0x6e,0x4e,0x64,0xb9,0xcb,0x1c,0xec,0x03,0x2e,0x6b,0x25,0x79,0x5c,0x18,0x98,0x44,0xf4,0x76,0xf2,0xe2,0x05,0x4d,0x0e,0x71,0x59,0x7a,0xaa,0x50,0xb9,0x6f};
    int          cmp37        = 1;
    uint256_from_bytes(a, a37_data);
    uint256_from_bytes(b, b37_data);
    if (uint256_cmp(a, b) != cmp37)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a38_data[32] = {0x2f,0x21,0x7e,0x72,0x0f,0x65,0x06,0x38,0xb5,0xb9,0x4a,0xf3,0x0d,0x45,0x6b,0xe0,0x6a,0x56,0xaa,0xc3,0x24,0x54,0x48,0xc8,0x98,0x9b,0xc9,0xdc,0xf9,0x5f,0xe8,0xa0};
    std::uint8_t b38_data[32] = {0xff,0x5e,0x1d,0x1f,0x1c,0xfb,0x0a,0x06,0xbb,0x93,0xc8,0xeb,0x50,0x6f,0x68,0xac,0xe2,0x32,0x89,0x94,0xb6,0x47,0xe8,0xa8,0xe5,0xee,0x4c,0x91,0x73,0x1b,0xbc,0x41};
    int          cmp38        = -1;
    uint256_from_bytes(a, a38_data);
    uint256_from_bytes(b, b38_data);
    if (uint256_cmp(a, b) != cmp38)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a39_data[32] = {0x77,0xb5,0xab,0xcb,0xbf,0x0e,0x11,0xe0,0x86,0x59,0x22,0x43,0xef,0x95,0xee,0xe8,0xa7,0x08,0x28,0xa7,0x2f,0x7d,0xba,0x08,0x30,0xd0,0xa2,0xb8,0x54,0x49,0x40,0xe1};
    std::uint8_t b39_data[32] = {0x54,0xea,0x20,0x61,0xfc,0x27,0xd6,0x83,0x5f,0xb6,0xd6,0x25,0xd6,0xd1,0x06,0xfb,0x60,0xed,0x33,0xa0,0xb9,0xb2,0x53,0xe3,0xaa,0x18,0x13,0x45,0x4f,0xd3,0xe7,0x58};
    int          cmp39        = 1;
    uint256_from_bytes(a, a39_data);
    uint256_from_bytes(b, b39_data);
    if (uint256_cmp(a, b) != cmp39)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a40_data[32] = {0x79,0x34,0xf0,0xb8,0xb4,0x8b,0xb0,0x75,0x0c,0x9c,0x20,0xef,0x16,0x77,0x74,0xef,0x6e,0xb4,0xff,0xf8,0xcd,0xce,0xc4,0x08,0xd2,0x6f,0x1d,0x76,0x4f,0x06,0xe9,0x5a};
    std::uint8_t b40_data[32] = {0xc4,0x44,0x5a,0xae,0xa0,0x1a,0xc2,0x3a,0xcf,0xd3,0xbb,0x74,0x3f,0x7d,0xc8,0x6b,0x69,0x2a,0x4f,0x0e,0xa1,0xb4,0x9b,0xf7,0x07,0xc0,0x90,0x9c,0x79,0x7b,0x15,0x38};
    int          cmp40        = -1;
    uint256_from_bytes(a, a40_data);
    uint256_from_bytes(b, b40_data);
    if (uint256_cmp(a, b) != cmp40)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a41_data[32] = {0x41,0xcb,0xcc,0x3a,0x0f,0xdf,0x7c,0xc6,0xeb,0x8a,0x25,0xfc,0xcd,0xa7,0x90,0x77,0x10,0x05,0x3d,0x2c,0x76,0xcc,0x05,0x73,0x08,0xec,0x37,0x9a,0x60,0x25,0x33,0xdc};
    std::uint8_t b41_data[32] = {0x41,0xcb,0xcc,0x3a,0x0f,0xdf,0x7c,0xc6,0xeb,0x8a,0x25,0xfc,0xcd,0xa7,0x90,0x77,0x10,0x05,0x3d,0x2c,0x76,0xcc,0x05,0x73,0x08,0xec,0x37,0x9a,0x60,0x25,0x33,0xdc};
    int          cmp41        = 0;
    uint256_from_bytes(a, a41_data);
    uint256_from_bytes(b, b41_data);
    if (uint256_cmp(a, b) != cmp41)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a42_data[32] = {0xbd,0x0d,0x8c,0xfe,0xee,0x59,0xb3,0x97,0xcd,0x75,0x1e,0x08,0x02,0x3a,0x80,0xa2,0x2e,0xd5,0x1b,0x12,0x7f,0x1d,0x49,0x0e,0xed,0x97,0xec,0x76,0x21,0xf9,0x1a,0x99};
    std::uint8_t b42_data[32] = {0xbd,0x0d,0x8c,0xfe,0xee,0x59,0xb3,0x97,0xcd,0x75,0x1e,0x08,0x02,0x3a,0x80,0xa2,0x2e,0xd5,0x1b,0x12,0x7f,0x1d,0x49,0x0e,0xed,0x97,0xec,0x76,0x21,0xf9,0x1a,0x99};
    int          cmp42        = 0;
    uint256_from_bytes(a, a42_data);
    uint256_from_bytes(b, b42_data);
    if (uint256_cmp(a, b) != cmp42)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a43_data[32] = {0x12,0x79,0x68,0x8c,0xfc,0xe2,0x05,0xcd,0x1a,0xef,0xca,0x62,0xe2,0x2b,0x64,0xa6,0x6d,0x32,0xa9,0x01,0xfa,0xf2,0x0a,0xc0,0x29,0x23,0x22,0xd3,0x53,0x64,0xe6,0x4d};
    std::uint8_t b43_data[32] = {0x27,0x40,0x1f,0xa0,0x3c,0x49,0xfd,0xbd,0x3e,0xce,0x9f,0x2c,0x2f,0x8c,0x6c,0x08,0x3f,0x57,0x83,0xea,0x70,0x7c,0x5f,0x3d,0x32,0xfe,0x1f,0x36,0x42,0xa5,0x51,0x62};
    int          cmp43        = -1;
    uint256_from_bytes(a, a43_data);
    uint256_from_bytes(b, b43_data);
    if (uint256_cmp(a, b) != cmp43)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a44_data[32] = {0x09,0x7a,0x59,0x42,0xfd,0xaf,0x45,0x13,0x76,0xc3,0x2d,0xcd,0xa7,0x40,0x68,0xb2,0x19,0xbd,0x26,0x40,0xce,0xf6,0x1d,0x03,0xa6,0x4e,0xd9,0x96,0x3b,0x3b,0xc8,0x13};
    std::uint8_t b44_data[32] = {0xea,0x14,0x84,0x3a,0x72,0xc3,0x9a,0x28,0xd7,0x2e,0xb3,0xa1,0x3b,0x2a,0x42,0x1a,0xd1,0xb0,0xb7,0x0b,0xe2,0x00,0xd2,0x18,0x79,0x8a,0x0d,0x59,0x01,0x26,0x64,0xf6};
    int          cmp44        = -1;
    uint256_from_bytes(a, a44_data);
    uint256_from_bytes(b, b44_data);
    if (uint256_cmp(a, b) != cmp44)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a45_data[32] = {0x2d,0x81,0x9d,0x38,0xdd,0xba,0x85,0x47,0x83,0x3e,0x46,0x9f,0x5f,0x4a,0xeb,0xeb,0x13,0x3a,0xd7,0x3d,0xee,0x1f,0xdd,0xe0,0x31,0xb4,0x93,0x2c,0x95,0x4c,0x2f,0xc1};
    std::uint8_t b45_data[32] = {0x57,0x0b,0x53,0x4d,0x5e,0x63,0xaf,0x16,0x09,0x96,0x9e,0x7c,0x37,0xb7,0x9c,0x48,0x59,0x85,0xea,0x3f,0x9e,0xb4,0xe9,0x2e,0xb5,0xaf,0x4c,0x8a,0x98,0x9d,0x18,0x1c};
    int          cmp45        = -1;
    uint256_from_bytes(a, a45_data);
    uint256_from_bytes(b, b45_data);
    if (uint256_cmp(a, b) != cmp45)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a46_data[32] = {0xe9,0xf8,0xf7,0x1f,0xa6,0xd2,0x10,0x40,0xbb,0x73,0x52,0xc1,0x99,0x73,0xcf,0x5c,0x09,0xc9,0xd5,0x92,0x41,0x42,0x05,0xc6,0xff,0xf7,0xba,0x0d,0x34,0x37,0xcc,0xaa};
    std::uint8_t b46_data[32] = {0xe9,0xf8,0xf7,0x1f,0xa6,0xd2,0x10,0x40,0xbb,0x73,0x52,0xc1,0x99,0x73,0xcf,0x5c,0x09,0xc9,0xd5,0x92,0x41,0x42,0x05,0xc6,0xff,0xf7,0xba,0x0d,0x34,0x37,0xcc,0xaa};
    int          cmp46        = 0;
    uint256_from_bytes(a, a46_data);
    uint256_from_bytes(b, b46_data);
    if (uint256_cmp(a, b) != cmp46)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a47_data[32] = {0x88,0xb4,0x09,0xc8,0xa3,0xa1,0x6d,0x92,0x27,0x90,0xbb,0x01,0x8c,0xd5,0xd1,0x87,0xa9,0xfd,0xa2,0xef,0x65,0x32,0x2a,0x48,0xcb,0xbc,0x6c,0x94,0x19,0xf4,0x8c,0x75};
    std::uint8_t b47_data[32] = {0x88,0xb4,0x09,0xc8,0xa3,0xa1,0x6d,0x92,0x27,0x90,0xbb,0x01,0x8c,0xd5,0xd1,0x87,0xa9,0xfd,0xa2,0xef,0x65,0x32,0x2a,0x48,0xcb,0xbc,0x6c,0x94,0x19,0xf4,0x8c,0x75};
    int          cmp47        = 0;
    uint256_from_bytes(a, a47_data);
    uint256_from_bytes(b, b47_data);
    if (uint256_cmp(a, b) != cmp47)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a48_data[32] = {0xa4,0xfc,0x86,0x21,0x5d,0x20,0xc6,0xa6,0xcd,0x5e,0x4a,0xa0,0xff,0x22,0x82,0xe6,0xc4,0x44,0x00,0x54,0xdd,0x3f,0x40,0x06,0x04,0xa9,0x9e,0x63,0x6a,0x9c,0x2a,0x33};
    std::uint8_t b48_data[32] = {0xa4,0xfc,0x86,0x21,0x5d,0x20,0xc6,0xa6,0xcd,0x5e,0x4a,0xa0,0xff,0x22,0x82,0xe6,0xc4,0x44,0x00,0x54,0xdd,0x3f,0x40,0x06,0x04,0xa9,0x9e,0x63,0x6a,0x9c,0x2a,0x33};
    int          cmp48        = 0;
    uint256_from_bytes(a, a48_data);
    uint256_from_bytes(b, b48_data);
    if (uint256_cmp(a, b) != cmp48)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a49_data[32] = {0x81,0x24,0x7d,0xd4,0xbc,0xbc,0x58,0xa3,0x5e,0xef,0x9b,0x8b,0xed,0x5e,0xc9,0x04,0x9f,0x48,0x25,0x0d,0x92,0xa7,0x3f,0x9d,0x16,0xca,0xbe,0x32,0x65,0x8f,0x62,0xd1};
    std::uint8_t b49_data[32] = {0x81,0x24,0x7d,0xd4,0xbc,0xbc,0x58,0xa3,0x5e,0xef,0x9b,0x8b,0xed,0x5e,0xc9,0x04,0x9f,0x48,0x25,0x0d,0x92,0xa7,0x3f,0x9d,0x16,0xca,0xbe,0x32,0x65,0x8f,0x62,0xd1};
    int          cmp49        = 0;
    uint256_from_bytes(a, a49_data);
    uint256_from_bytes(b, b49_data);
    if (uint256_cmp(a, b) != cmp49)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a50_data[32] = {0x4d,0x36,0xa8,0xed,0x32,0x84,0xfc,0x6f,0xce,0x01,0x75,0x51,0xf7,0x85,0x30,0xbf,0xca,0xca,0x00,0x3c,0xce,0x08,0x43,0xc2,0xc0,0xe9,0x08,0xa8,0x7d,0x92,0x0a,0x56};
    std::uint8_t b50_data[32] = {0x0a,0xad,0xac,0xf0,0x37,0xd7,0xd1,0x90,0x90,0xbf,0xd7,0x92,0x2e,0xd6,0xd4,0x60,0x79,0x13,0x97,0xa3,0xd4,0x45,0xa5,0x3e,0x32,0x34,0x75,0x2b,0xd8,0xaa,0x7b,0xe3};
    int          cmp50        = 1;
    uint256_from_bytes(a, a50_data);
    uint256_from_bytes(b, b50_data);
    if (uint256_cmp(a, b) != cmp50)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a51_data[32] = {0xac,0x18,0xcd,0x4e,0xc1,0xe8,0xfb,0x16,0xd7,0xad,0x18,0xa7,0x8f,0xf5,0xba,0x77,0xe2,0x44,0xd0,0x5f,0x0a,0x85,0x77,0x46,0x31,0x4d,0xf3,0x86,0xe5,0xb5,0x20,0x6e};
    std::uint8_t b51_data[32] = {0xac,0x18,0xcd,0x4e,0xc1,0xe8,0xfb,0x16,0xd7,0xad,0x18,0xa7,0x8f,0xf5,0xba,0x77,0xe2,0x44,0xd0,0x5f,0x0a,0x85,0x77,0x46,0x31,0x4d,0xf3,0x86,0xe5,0xb5,0x20,0x6e};
    int          cmp51        = 0;
    uint256_from_bytes(a, a51_data);
    uint256_from_bytes(b, b51_data);
    if (uint256_cmp(a, b) != cmp51)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a52_data[32] = {0x11,0x2e,0xd1,0xdf,0x1b,0x69,0x56,0x7e,0x66,0x7c,0xd6,0x0b,0x79,0x24,0xde,0xde,0xcf,0x7e,0xda,0x11,0x2d,0xf8,0x3c,0x66,0xd6,0x27,0xd2,0xb8,0x75,0x52,0x6e,0x31};
    std::uint8_t b52_data[32] = {0x7d,0xeb,0x30,0xad,0xe2,0xbc,0xe7,0x63,0xfb,0x52,0x88,0x2f,0x21,0xb1,0xae,0xd2,0x31,0x96,0xcd,0x44,0x1c,0x0d,0xf6,0x45,0xd0,0xa3,0x26,0x11,0xb1,0x4a,0xed,0x54};
    int          cmp52        = -1;
    uint256_from_bytes(a, a52_data);
    uint256_from_bytes(b, b52_data);
    if (uint256_cmp(a, b) != cmp52)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a53_data[32] = {0x32,0xed,0xdf,0x6f,0x09,0x6d,0xe4,0x21,0x5f,0x4c,0xe3,0x02,0x51,0xaf,0x10,0x74,0x3c,0xc6,0x31,0x41,0x81,0x89,0xac,0x45,0x9d,0xa9,0x68,0xf2,0x43,0x4b,0x4b,0x94};
    std::uint8_t b53_data[32] = {0xe5,0x39,0xcb,0x16,0x53,0xec,0x4b,0x93,0xad,0xff,0x81,0x65,0x47,0x37,0xfe,0xd1,0xef,0xb8,0x28,0x25,0xa2,0xf6,0x5e,0x36,0x29,0x46,0x53,0x88,0x67,0x49,0x83,0x14};
    int          cmp53        = -1;
    uint256_from_bytes(a, a53_data);
    uint256_from_bytes(b, b53_data);
    if (uint256_cmp(a, b) != cmp53)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a54_data[32] = {0x25,0x6d,0x10,0x82,0x93,0xcd,0xe6,0x09,0x5e,0x73,0x25,0x2b,0xfd,0x91,0x4b,0x0e,0x60,0x30,0x7b,0x75,0x43,0xc6,0xed,0x1e,0x5f,0x18,0x69,0x04,0xcc,0x34,0x24,0x16};
    std::uint8_t b54_data[32] = {0xa7,0x32,0x1d,0x31,0x9c,0xce,0x12,0xd5,0x3a,0x2d,0xb0,0x0a,0x7d,0x07,0x6c,0x0b,0x21,0xcc,0x47,0x51,0x0c,0x3b,0x12,0x66,0xe5,0x42,0x45,0x3d,0x5d,0x35,0x97,0x77};
    int          cmp54        = -1;
    uint256_from_bytes(a, a54_data);
    uint256_from_bytes(b, b54_data);
    if (uint256_cmp(a, b) != cmp54)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a55_data[32] = {0x0b,0x43,0xb6,0xdd,0x00,0x1a,0x2f,0xd3,0xe7,0x4c,0x00,0xf4,0x2a,0x43,0xf0,0x47,0x3f,0x9d,0x80,0x24,0x7e,0x2b,0x86,0xd1,0xbb,0xc8,0x1f,0x54,0x84,0x80,0x49,0x42};
    std::uint8_t b55_data[32] = {0x24,0x6b,0x94,0x80,0x32,0x7f,0x82,0xf8,0xf0,0xe0,0x2c,0x42,0xa8,0x24,0x09,0xf1,0x8d,0x09,0x49,0x79,0x9c,0xd5,0xf2,0xbb,0x03,0x29,0x60,0x2a,0x1a,0xdb,0xe5,0x33};
    int          cmp55        = -1;
    uint256_from_bytes(a, a55_data);
    uint256_from_bytes(b, b55_data);
    if (uint256_cmp(a, b) != cmp55)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a56_data[32] = {0xd8,0x2c,0xba,0x01,0x60,0x0a,0x67,0x32,0x01,0xa0,0x1d,0x42,0x89,0xd4,0xff,0x98,0xb7,0x24,0x5d,0x1c,0x7a,0x59,0x4f,0x67,0xc8,0x70,0xfe,0xf2,0xb9,0x6c,0x1f,0x73};
    std::uint8_t b56_data[32] = {0x2c,0xe6,0x78,0xfe,0x73,0xd6,0x34,0x26,0xa7,0xd0,0xe5,0x97,0xbd,0xe3,0xa6,0xe4,0x14,0x9a,0x3e,0x17,0x77,0x1b,0xa4,0xba,0xe9,0x89,0xda,0x51,0xbe,0xc4,0x9a,0xb4};
    int          cmp56        = 1;
    uint256_from_bytes(a, a56_data);
    uint256_from_bytes(b, b56_data);
    if (uint256_cmp(a, b) != cmp56)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a57_data[32] = {0x43,0xea,0x74,0x71,0xf8,0xcd,0xe5,0x9b,0x85,0xf3,0x5c,0x2e,0xea,0xd2,0x8c,0x16,0xc9,0xd7,0xdc,0x2a,0xaf,0x8c,0x3e,0x74,0x6f,0xa1,0x26,0xa8,0xad,0xe2,0x56,0x55};
    std::uint8_t b57_data[32] = {0x81,0xe6,0xd6,0xc8,0xe1,0x4a,0xa4,0x60,0x15,0xde,0x28,0x68,0x37,0x8d,0x04,0xea,0xe4,0xe8,0xd8,0xd2,0xf7,0x13,0x77,0xdc,0xed,0xb6,0xce,0x85,0xa4,0x5a,0x52,0x09};
    int          cmp57        = -1;
    uint256_from_bytes(a, a57_data);
    uint256_from_bytes(b, b57_data);
    if (uint256_cmp(a, b) != cmp57)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a58_data[32] = {0x3d,0x3a,0x19,0x02,0x99,0xea,0x45,0x14,0x54,0x1c,0x18,0xd5,0x63,0x82,0x50,0x46,0xe1,0x52,0x7a,0xe4,0x31,0x22,0xc8,0x15,0x53,0xad,0xd8,0x17,0xea,0x3a,0xb6,0xd2};
    std::uint8_t b58_data[32] = {0x3d,0x3a,0x19,0x02,0x99,0xea,0x45,0x14,0x54,0x1c,0x18,0xd5,0x63,0x82,0x50,0x46,0xe1,0x52,0x7a,0xe4,0x31,0x22,0xc8,0x15,0x53,0xad,0xd8,0x17,0xea,0x3a,0xb6,0xd2};
    int          cmp58        = 0;
    uint256_from_bytes(a, a58_data);
    uint256_from_bytes(b, b58_data);
    if (uint256_cmp(a, b) != cmp58)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a59_data[32] = {0x36,0x43,0x69,0x24,0xca,0x09,0x2b,0x18,0x4e,0xc8,0xc2,0x23,0xe2,0x7f,0x8b,0xe8,0x92,0x01,0xd5,0x5a,0x3b,0xdc,0x2e,0xfd,0xb9,0x80,0xea,0x1e,0xf4,0xa8,0x87,0x53};
    std::uint8_t b59_data[32] = {0x08,0x6d,0x06,0xd8,0x25,0x04,0x2c,0x3d,0x2b,0xea,0x71,0x4d,0xe9,0x29,0x84,0x00,0x90,0xb1,0x3f,0x30,0x13,0xea,0xda,0xc3,0x95,0xd8,0x56,0x75,0x9f,0x64,0x28,0xef};
    int          cmp59        = 1;
    uint256_from_bytes(a, a59_data);
    uint256_from_bytes(b, b59_data);
    if (uint256_cmp(a, b) != cmp59)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a60_data[32] = {0xb3,0x63,0xaf,0x43,0x24,0x4f,0xba,0xfc,0xfa,0x37,0x6a,0x6e,0x58,0x48,0xfc,0x64,0x29,0x6c,0x76,0x4d,0xed,0xcf,0x97,0x5c,0x9f,0x39,0x5e,0xf1,0x1b,0x4f,0x46,0x3f};
    std::uint8_t b60_data[32] = {0xb2,0x6f,0x19,0x28,0x0a,0xea,0xde,0x9b,0xa2,0x45,0xd6,0x58,0xa4,0xbf,0x58,0xe7,0xb1,0x4f,0xe2,0xd6,0x23,0x6e,0x53,0x6d,0x0a,0xa9,0x89,0xb4,0x07,0xe7,0x16,0x6b};
    int          cmp60        = 1;
    uint256_from_bytes(a, a60_data);
    uint256_from_bytes(b, b60_data);
    if (uint256_cmp(a, b) != cmp60)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a61_data[32] = {0x1c,0xaa,0x0c,0x48,0x34,0x02,0x52,0xa6,0x34,0xaa,0x4a,0x20,0x3f,0x1f,0xb2,0x41,0x1b,0x6b,0xf2,0x73,0x62,0x43,0x83,0x62,0xf1,0xbf,0x55,0xed,0xb6,0x14,0x3f,0x78};
    std::uint8_t b61_data[32] = {0x1c,0xaa,0x0c,0x48,0x34,0x02,0x52,0xa6,0x34,0xaa,0x4a,0x20,0x3f,0x1f,0xb2,0x41,0x1b,0x6b,0xf2,0x73,0x62,0x43,0x83,0x62,0xf1,0xbf,0x55,0xed,0xb6,0x14,0x3f,0x78};
    int          cmp61        = 0;
    uint256_from_bytes(a, a61_data);
    uint256_from_bytes(b, b61_data);
    if (uint256_cmp(a, b) != cmp61)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a62_data[32] = {0xe9,0x0b,0xa8,0x87,0x5e,0x36,0xd7,0x60,0xc2,0x85,0xa8,0xc6,0xb7,0x3c,0x30,0xc8,0x0c,0x64,0x78,0x01,0x48,0x58,0x07,0x9e,0xee,0x1a,0xdd,0xc8,0x41,0xb7,0x3d,0x54};
    std::uint8_t b62_data[32] = {0xe9,0x0b,0xa8,0x87,0x5e,0x36,0xd7,0x60,0xc2,0x85,0xa8,0xc6,0xb7,0x3c,0x30,0xc8,0x0c,0x64,0x78,0x01,0x48,0x58,0x07,0x9e,0xee,0x1a,0xdd,0xc8,0x41,0xb7,0x3d,0x54};
    int          cmp62        = 0;
    uint256_from_bytes(a, a62_data);
    uint256_from_bytes(b, b62_data);
    if (uint256_cmp(a, b) != cmp62)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a63_data[32] = {0xd3,0xec,0xa7,0x51,0xdc,0xbb,0xb7,0x57,0xb6,0xe2,0x44,0x82,0x37,0x71,0x69,0x0c,0x90,0xeb,0xc2,0xc3,0x89,0xb2,0x8a,0x18,0x0c,0x51,0x66,0xf0,0xb4,0x64,0x90,0x35};
    std::uint8_t b63_data[32] = {0x33,0xb8,0x93,0xa5,0x86,0x07,0xbf,0xbf,0x00,0x55,0x22,0x93,0x6f,0xa1,0x76,0xac,0x2b,0x9d,0x73,0x64,0x49,0x80,0x05,0x25,0xd1,0xdf,0x24,0xd0,0x93,0x15,0x1c,0xf9};
    int          cmp63        = 1;
    uint256_from_bytes(a, a63_data);
    uint256_from_bytes(b, b63_data);
    if (uint256_cmp(a, b) != cmp63)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a64_data[32] = {0xd3,0x49,0x79,0xb3,0xcb,0xf9,0x3e,0x3f,0xb1,0xf9,0x25,0xcb,0x7d,0xd1,0xe6,0xc7,0x18,0x7f,0x13,0x2d,0x7d,0xa6,0x93,0x70,0x59,0x09,0xa9,0x58,0x01,0x1d,0xd8,0xb3};
    std::uint8_t b64_data[32] = {0x3b,0x45,0x63,0xc7,0xb3,0x11,0x10,0xc8,0xf0,0x33,0xb9,0x15,0x36,0xf7,0x84,0xcc,0xd0,0xb3,0xa1,0x75,0x48,0xa2,0x83,0x54,0x28,0xad,0x5d,0xc9,0xf1,0xa1,0x75,0x00};
    int          cmp64        = 1;
    uint256_from_bytes(a, a64_data);
    uint256_from_bytes(b, b64_data);
    if (uint256_cmp(a, b) != cmp64)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a65_data[32] = {0xa5,0x57,0x41,0xcb,0xe3,0x71,0x61,0x3e,0x6c,0x10,0xb6,0x01,0x16,0x0f,0x6d,0x6e,0xbe,0xc6,0xb7,0xec,0xe3,0xf1,0xbd,0xf6,0xe4,0x4f,0xbd,0x3e,0x65,0x04,0x78,0x45};
    std::uint8_t b65_data[32] = {0xa5,0x57,0x41,0xcb,0xe3,0x71,0x61,0x3e,0x6c,0x10,0xb6,0x01,0x16,0x0f,0x6d,0x6e,0xbe,0xc6,0xb7,0xec,0xe3,0xf1,0xbd,0xf6,0xe4,0x4f,0xbd,0x3e,0x65,0x04,0x78,0x45};
    int          cmp65        = 0;
    uint256_from_bytes(a, a65_data);
    uint256_from_bytes(b, b65_data);
    if (uint256_cmp(a, b) != cmp65)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a66_data[32] = {0x94,0xe2,0x7f,0x77,0x59,0x36,0x57,0x83,0x08,0xac,0xa1,0x06,0xa5,0x73,0xe8,0xca,0x9a,0xf8,0x25,0x5e,0xc0,0xc3,0xea,0x0c,0xb0,0x71,0xb0,0xda,0xc1,0x25,0x51,0x6b};
    std::uint8_t b66_data[32] = {0xbd,0xf2,0xe0,0x77,0x8d,0xc1,0xa4,0x3e,0xa9,0x7f,0x65,0xbd,0x73,0x47,0x4a,0xa9,0xd7,0xd5,0xcc,0xbe,0xde,0x35,0x21,0xaf,0x27,0xc3,0x7e,0x56,0x85,0x90,0x3d,0x97};
    int          cmp66        = -1;
    uint256_from_bytes(a, a66_data);
    uint256_from_bytes(b, b66_data);
    if (uint256_cmp(a, b) != cmp66)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a67_data[32] = {0x20,0x45,0x46,0x43,0x3b,0x24,0x6b,0x47,0x94,0x44,0x78,0x57,0x41,0xd8,0xb4,0x52,0xc5,0xff,0xd9,0x33,0xb0,0x66,0x53,0x50,0x70,0x55,0x11,0x4e,0x76,0x91,0x77,0x52};
    std::uint8_t b67_data[32] = {0x44,0x79,0xc0,0x74,0x31,0x0a,0xfa,0xe0,0x81,0xf8,0xd9,0xdf,0x3c,0xe9,0xa9,0xaf,0xb2,0x52,0x01,0xe9,0xe2,0x97,0x96,0x19,0xa4,0x88,0x0c,0x45,0x76,0x46,0xcf,0x57};
    int          cmp67        = -1;
    uint256_from_bytes(a, a67_data);
    uint256_from_bytes(b, b67_data);
    if (uint256_cmp(a, b) != cmp67)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a68_data[32] = {0xf4,0xae,0xdd,0x02,0x53,0xfc,0xba,0x58,0x3c,0x78,0x75,0x66,0x29,0x32,0x56,0xb6,0x59,0x3f,0xf3,0xdf,0x85,0xad,0x81,0xd7,0x9a,0x57,0x55,0x55,0x53,0x99,0x9a,0xc8};
    std::uint8_t b68_data[32] = {0x1b,0x5b,0xd0,0x42,0xe9,0x51,0xac,0xba,0xa3,0x52,0xb6,0xb5,0x1b,0xf9,0xb6,0x83,0x32,0x39,0x91,0xaf,0x46,0x19,0x1a,0xa0,0x6f,0x57,0x1d,0x36,0x4c,0x22,0xb1,0xf4};
    int          cmp68        = 1;
    uint256_from_bytes(a, a68_data);
    uint256_from_bytes(b, b68_data);
    if (uint256_cmp(a, b) != cmp68)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a69_data[32] = {0xca,0x7f,0x41,0xe3,0xda,0xb5,0x37,0x38,0x66,0x26,0x3f,0x9f,0x03,0x3a,0xe3,0x30,0x08,0xaf,0xbd,0xed,0x76,0xc3,0x38,0xfa,0x63,0x6a,0x54,0x79,0xe2,0x9f,0x9e,0xcb};
    std::uint8_t b69_data[32] = {0xca,0x7f,0x41,0xe3,0xda,0xb5,0x37,0x38,0x66,0x26,0x3f,0x9f,0x03,0x3a,0xe3,0x30,0x08,0xaf,0xbd,0xed,0x76,0xc3,0x38,0xfa,0x63,0x6a,0x54,0x79,0xe2,0x9f,0x9e,0xcb};
    int          cmp69        = 0;
    uint256_from_bytes(a, a69_data);
    uint256_from_bytes(b, b69_data);
    if (uint256_cmp(a, b) != cmp69)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a70_data[32] = {0xda,0x57,0x15,0xe4,0xe8,0x72,0xf1,0x5c,0x3e,0x06,0x57,0x1b,0xbd,0xae,0x9f,0x93,0x01,0x69,0x9a,0xf8,0x67,0x9b,0x4b,0xba,0xbc,0xfd,0x52,0x7b,0x9a,0x8c,0xa8,0x91};
    std::uint8_t b70_data[32] = {0x50,0x21,0xb4,0x20,0x6e,0xba,0x35,0xe0,0x74,0x32,0xf7,0x9d,0x1f,0xcc,0x96,0x34,0xa4,0x3b,0xe3,0x68,0x2e,0x77,0x1b,0xd6,0xad,0xfa,0x09,0xb0,0x3a,0x85,0xee,0xd0};
    int          cmp70        = 1;
    uint256_from_bytes(a, a70_data);
    uint256_from_bytes(b, b70_data);
    if (uint256_cmp(a, b) != cmp70)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a71_data[32] = {0xd4,0x38,0x61,0xce,0xca,0xe5,0xa8,0x71,0xa3,0xa6,0xa0,0xa9,0x04,0x1f,0x8d,0x71,0x83,0x1e,0xf5,0xc3,0x79,0xc9,0xcd,0xb6,0xb7,0xa0,0xb7,0x85,0x34,0x79,0xb1,0xf0};
    std::uint8_t b71_data[32] = {0x0f,0xbe,0xb7,0x16,0x66,0x51,0xb3,0xc4,0x61,0xc0,0x0c,0xbe,0x46,0x3c,0x46,0x50,0x40,0xa1,0x11,0xb9,0x0e,0x7e,0x89,0x94,0xa3,0x37,0xb5,0xa6,0x5b,0x00,0x47,0x53};
    int          cmp71        = 1;
    uint256_from_bytes(a, a71_data);
    uint256_from_bytes(b, b71_data);
    if (uint256_cmp(a, b) != cmp71)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a72_data[32] = {0x94,0x86,0x5d,0x85,0x5a,0x24,0xdd,0x36,0xac,0xc5,0x34,0x66,0xb2,0xc0,0xb0,0xbc,0xa0,0xe9,0x9e,0xfb,0x6b,0xa8,0xf8,0xee,0xea,0x59,0xfd,0xda,0x6b,0x28,0x38,0xe0};
    std::uint8_t b72_data[32] = {0x2a,0x1e,0xdb,0x8c,0x36,0x46,0x78,0x38,0x76,0x4d,0x45,0x29,0x64,0x57,0xab,0xc6,0xf5,0xfa,0x5d,0x74,0xcd,0x2e,0x46,0x76,0xfe,0x85,0xdf,0xb1,0x38,0x0a,0xb1,0xd7};
    int          cmp72        = 1;
    uint256_from_bytes(a, a72_data);
    uint256_from_bytes(b, b72_data);
    if (uint256_cmp(a, b) != cmp72)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a73_data[32] = {0xb8,0x80,0x1b,0x29,0x8f,0xe2,0xc3,0xf4,0xa4,0x67,0x2c,0x0c,0x78,0x1a,0xc7,0x8f,0x31,0x73,0xb8,0xd9,0xa2,0x61,0x62,0x1f,0xcc,0x63,0x85,0x8a,0xcf,0x40,0x23,0x39};
    std::uint8_t b73_data[32] = {0xb8,0x80,0x1b,0x29,0x8f,0xe2,0xc3,0xf4,0xa4,0x67,0x2c,0x0c,0x78,0x1a,0xc7,0x8f,0x31,0x73,0xb8,0xd9,0xa2,0x61,0x62,0x1f,0xcc,0x63,0x85,0x8a,0xcf,0x40,0x23,0x39};
    int          cmp73        = 0;
    uint256_from_bytes(a, a73_data);
    uint256_from_bytes(b, b73_data);
    if (uint256_cmp(a, b) != cmp73)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a74_data[32] = {0xaf,0xfc,0xd2,0x47,0x60,0x4b,0x44,0x96,0xb4,0x46,0x78,0xf9,0x44,0x75,0xee,0x53,0x3a,0xff,0x07,0x6f,0xd9,0xc5,0x7c,0x3c,0xc8,0x99,0x94,0xcc,0x5a,0xd0,0xa5,0x1c};
    std::uint8_t b74_data[32] = {0x7c,0x23,0xaa,0x42,0x7a,0xc3,0xca,0xf8,0x52,0x00,0x86,0x6c,0x4d,0x44,0x17,0xea,0xa7,0x86,0xef,0xfc,0x3e,0xb6,0x2c,0x1c,0x5b,0xa4,0x68,0x81,0x47,0xfd,0x7d,0x46};
    int          cmp74        = 1;
    uint256_from_bytes(a, a74_data);
    uint256_from_bytes(b, b74_data);
    if (uint256_cmp(a, b) != cmp74)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a75_data[32] = {0xa8,0x45,0x06,0x3a,0x03,0xd6,0x1c,0xbf,0x95,0x1b,0xcb,0x26,0xa2,0x16,0xed,0x03,0x58,0x5b,0xc3,0xad,0xd4,0xd1,0xe9,0x69,0x87,0xd8,0x89,0x17,0x23,0xf1,0x5d,0xdf};
    std::uint8_t b75_data[32] = {0xc8,0xee,0x3c,0x6e,0x58,0xb0,0x8f,0x1f,0x73,0xb3,0xa2,0xcf,0xc6,0xbb,0xf6,0x58,0x2f,0x87,0xa4,0x29,0x3b,0xcf,0xec,0xf9,0xda,0xab,0x23,0x02,0x24,0x8a,0x1e,0xdf};
    int          cmp75        = -1;
    uint256_from_bytes(a, a75_data);
    uint256_from_bytes(b, b75_data);
    if (uint256_cmp(a, b) != cmp75)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a76_data[32] = {0x43,0xb5,0xe6,0x70,0x1e,0x50,0xf1,0x34,0x8e,0x18,0xa9,0x29,0x1d,0xf2,0x71,0x2d,0xe1,0xf7,0x7a,0x88,0xab,0xd5,0xa1,0xae,0x70,0x47,0x2e,0xc8,0xd6,0xdb,0x01,0x06};
    std::uint8_t b76_data[32] = {0x7b,0xff,0xb6,0xa4,0x0e,0xf6,0xdf,0x4f,0x8e,0xa4,0xdc,0x66,0x7e,0x3a,0x46,0xa3,0x79,0x26,0x5f,0xef,0x23,0xab,0xac,0x2e,0xd3,0xb9,0xcd,0x98,0x3b,0xf2,0xf1,0x08};
    int          cmp76        = -1;
    uint256_from_bytes(a, a76_data);
    uint256_from_bytes(b, b76_data);
    if (uint256_cmp(a, b) != cmp76)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a77_data[32] = {0xfb,0x51,0x85,0x04,0xcf,0x00,0x61,0xca,0x54,0x98,0xc0,0x04,0xff,0xbd,0x8d,0x4a,0xee,0x76,0x53,0xc9,0xbc,0x8d,0xf8,0x72,0xae,0xbe,0x17,0x73,0x0b,0xbe,0x27,0xa8};
    std::uint8_t b77_data[32] = {0xfb,0x51,0x85,0x04,0xcf,0x00,0x61,0xca,0x54,0x98,0xc0,0x04,0xff,0xbd,0x8d,0x4a,0xee,0x76,0x53,0xc9,0xbc,0x8d,0xf8,0x72,0xae,0xbe,0x17,0x73,0x0b,0xbe,0x27,0xa8};
    int          cmp77        = 0;
    uint256_from_bytes(a, a77_data);
    uint256_from_bytes(b, b77_data);
    if (uint256_cmp(a, b) != cmp77)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a78_data[32] = {0x6f,0x68,0x94,0xcc,0x48,0xbe,0x1f,0xa6,0x35,0xf2,0x17,0xb0,0xe9,0x8e,0x99,0xde,0xc5,0x44,0x5c,0xe8,0x8d,0xdb,0x2b,0xc1,0x86,0x89,0xa2,0x1e,0xc7,0x4d,0x59,0x21};
    std::uint8_t b78_data[32] = {0x81,0xa5,0x00,0x8a,0xdf,0x7a,0x9c,0x99,0x45,0x8d,0xff,0x2d,0xfb,0xfa,0x37,0x97,0x80,0xf5,0xb4,0xa3,0x55,0x6e,0xcb,0x72,0x67,0x5a,0xd4,0x61,0x7e,0x65,0x1b,0xa5};
    int          cmp78        = -1;
    uint256_from_bytes(a, a78_data);
    uint256_from_bytes(b, b78_data);
    if (uint256_cmp(a, b) != cmp78)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a79_data[32] = {0xb6,0x93,0x07,0xf8,0x51,0x2d,0x12,0x6e,0x31,0x3b,0x25,0x9a,0x54,0xb5,0x9e,0x2d,0x1e,0x30,0x8b,0x51,0xca,0xbd,0x4f,0x53,0x7e,0x00,0x5b,0xd9,0xa7,0x91,0x30,0x51};
    std::uint8_t b79_data[32] = {0x0a,0x40,0xc9,0xe8,0xff,0x1a,0x5c,0x0c,0xc8,0xc2,0x59,0xa2,0x16,0x6b,0x65,0x25,0xa2,0x83,0x9f,0x31,0xf9,0x06,0x1f,0xfb,0x96,0x21,0xa9,0xd3,0x20,0xa8,0x79,0x32};
    int          cmp79        = 1;
    uint256_from_bytes(a, a79_data);
    uint256_from_bytes(b, b79_data);
    if (uint256_cmp(a, b) != cmp79)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a80_data[32] = {0x4c,0xe7,0x6f,0x14,0x66,0x02,0xec,0x12,0x0c,0xb9,0x1c,0xbe,0x92,0xf4,0x8d,0x21,0x8b,0x9f,0x68,0x4a,0x67,0xf1,0x86,0xa2,0xe2,0xb6,0xc5,0x0c,0x8d,0xe6,0x37,0x50};
    std::uint8_t b80_data[32] = {0x9d,0xdf,0xfe,0xc8,0x60,0x44,0x6e,0xf6,0x9c,0x9a,0xff,0xde,0x8b,0x2c,0xa2,0x82,0xe8,0xea,0x1b,0x43,0x80,0x37,0x3b,0xa8,0xc9,0xfd,0xac,0x3d,0x0f,0x65,0xe8,0xf4};
    int          cmp80        = -1;
    uint256_from_bytes(a, a80_data);
    uint256_from_bytes(b, b80_data);
    if (uint256_cmp(a, b) != cmp80)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a81_data[32] = {0x36,0x66,0x7d,0xc9,0x15,0x3f,0xb2,0xcd,0xae,0x54,0xa8,0x36,0xe0,0x56,0xa8,0xd5,0x98,0xa7,0xa8,0x6f,0xb0,0x6a,0x7c,0x91,0xb2,0x47,0x80,0x1d,0xac,0x77,0xa0,0x55};
    std::uint8_t b81_data[32] = {0xa9,0xe2,0xfa,0x40,0x19,0xf2,0xd5,0xff,0x2c,0x84,0xfe,0x81,0xc3,0x3e,0xa7,0x3e,0xa0,0x12,0x32,0x46,0x75,0x37,0x94,0x66,0xa2,0x33,0x0a,0x67,0xaa,0xc0,0xa7,0x80};
    int          cmp81        = -1;
    uint256_from_bytes(a, a81_data);
    uint256_from_bytes(b, b81_data);
    if (uint256_cmp(a, b) != cmp81)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a82_data[32] = {0xdc,0xc9,0x8e,0x43,0x42,0x0c,0x77,0x38,0xb5,0xcb,0x42,0xf6,0x8f,0xe5,0xe1,0xab,0x4f,0x31,0x4b,0x00,0xc9,0x5a,0xb0,0x50,0x23,0x81,0x91,0xe9,0xd2,0x96,0x9d,0x35};
    std::uint8_t b82_data[32] = {0xdc,0xc9,0x8e,0x43,0x42,0x0c,0x77,0x38,0xb5,0xcb,0x42,0xf6,0x8f,0xe5,0xe1,0xab,0x4f,0x31,0x4b,0x00,0xc9,0x5a,0xb0,0x50,0x23,0x81,0x91,0xe9,0xd2,0x96,0x9d,0x35};
    int          cmp82        = 0;
    uint256_from_bytes(a, a82_data);
    uint256_from_bytes(b, b82_data);
    if (uint256_cmp(a, b) != cmp82)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a83_data[32] = {0xae,0x12,0x0a,0x3c,0x03,0x9e,0x0d,0x8b,0x11,0x35,0x41,0x13,0x72,0x4b,0xf8,0x0b,0x67,0x97,0x0a,0xb1,0xeb,0x2b,0x50,0xb5,0xb2,0x1a,0x30,0xcc,0x93,0x48,0x42,0x39};
    std::uint8_t b83_data[32] = {0xe5,0x51,0x55,0x0e,0x36,0x57,0xc7,0xbb,0x78,0xe1,0x9b,0xe6,0xa4,0xfe,0x55,0x61,0x15,0x3a,0x8e,0x30,0x1a,0x1f,0x80,0xd1,0x8c,0x7e,0x80,0xc1,0x69,0x94,0x2a,0xbd};
    int          cmp83        = -1;
    uint256_from_bytes(a, a83_data);
    uint256_from_bytes(b, b83_data);
    if (uint256_cmp(a, b) != cmp83)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a84_data[32] = {0x04,0x8d,0x09,0xc8,0x78,0xea,0xbc,0x3a,0x21,0x04,0x14,0x28,0x1f,0x10,0xa0,0xb3,0xde,0x9a,0xc5,0xee,0x37,0xde,0xea,0xed,0x16,0x90,0x4b,0xeb,0xdb,0xc4,0x7e,0x5e};
    std::uint8_t b84_data[32] = {0x04,0x8d,0x09,0xc8,0x78,0xea,0xbc,0x3a,0x21,0x04,0x14,0x28,0x1f,0x10,0xa0,0xb3,0xde,0x9a,0xc5,0xee,0x37,0xde,0xea,0xed,0x16,0x90,0x4b,0xeb,0xdb,0xc4,0x7e,0x5e};
    int          cmp84        = 0;
    uint256_from_bytes(a, a84_data);
    uint256_from_bytes(b, b84_data);
    if (uint256_cmp(a, b) != cmp84)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a85_data[32] = {0xc2,0x64,0xab,0x93,0xba,0xcf,0x0b,0xd8,0x25,0x11,0x95,0x7e,0xdb,0x01,0xb9,0xf2,0xb1,0xe1,0x36,0x63,0xb6,0xab,0x58,0xca,0xbf,0x4b,0x3d,0x45,0xc6,0x26,0x60,0x64};
    std::uint8_t b85_data[32] = {0x0f,0x80,0x44,0xa8,0x02,0xeb,0x2c,0x86,0x08,0x2f,0x1a,0x43,0xb7,0x9b,0x14,0xf3,0x0d,0x7b,0x2e,0xa8,0xf6,0xdd,0x60,0x15,0xe9,0xdc,0x85,0x61,0x41,0x09,0x75,0x2a};
    int          cmp85        = 1;
    uint256_from_bytes(a, a85_data);
    uint256_from_bytes(b, b85_data);
    if (uint256_cmp(a, b) != cmp85)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a86_data[32] = {0x50,0xf7,0xb1,0x68,0x0f,0x4d,0xad,0x88,0x9b,0xe4,0x07,0x8c,0x7c,0x80,0x05,0xc5,0xd5,0xbd,0x01,0x32,0xdc,0x68,0x5e,0x91,0xf5,0x2b,0xc6,0x55,0x2a,0x7e,0xc8,0x06};
    std::uint8_t b86_data[32] = {0x50,0xf7,0xb1,0x68,0x0f,0x4d,0xad,0x88,0x9b,0xe4,0x07,0x8c,0x7c,0x80,0x05,0xc5,0xd5,0xbd,0x01,0x32,0xdc,0x68,0x5e,0x91,0xf5,0x2b,0xc6,0x55,0x2a,0x7e,0xc8,0x06};
    int          cmp86        = 0;
    uint256_from_bytes(a, a86_data);
    uint256_from_bytes(b, b86_data);
    if (uint256_cmp(a, b) != cmp86)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a87_data[32] = {0xe3,0x5c,0x18,0xa0,0xf9,0xf4,0x88,0x6c,0x6d,0xb6,0x3a,0xed,0x95,0xac,0xd1,0x4a,0x4f,0x00,0x42,0xf5,0xd5,0x26,0xe8,0xf9,0x99,0xe4,0x22,0x64,0x26,0xaf,0xd4,0x34};
    std::uint8_t b87_data[32] = {0x6c,0x28,0xf6,0x18,0x44,0x9d,0x27,0xf9,0x43,0x56,0xe3,0x58,0x52,0x4f,0x85,0x3f,0x00,0x6e,0x6d,0xa2,0xb0,0x45,0x16,0xb7,0x48,0x86,0xf5,0x72,0x73,0x86,0x65,0x61};
    int          cmp87        = 1;
    uint256_from_bytes(a, a87_data);
    uint256_from_bytes(b, b87_data);
    if (uint256_cmp(a, b) != cmp87)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a88_data[32] = {0xd5,0x4e,0xa0,0x35,0x49,0xdc,0x8a,0x9f,0x0a,0xd3,0xf2,0xd6,0xc8,0x78,0x9a,0xe0,0xe3,0x2e,0xf1,0xea,0xc3,0x69,0x34,0x86,0xd0,0xe4,0x78,0x43,0xeb,0xac,0x31,0xfb};
    std::uint8_t b88_data[32] = {0xd5,0x4e,0xa0,0x35,0x49,0xdc,0x8a,0x9f,0x0a,0xd3,0xf2,0xd6,0xc8,0x78,0x9a,0xe0,0xe3,0x2e,0xf1,0xea,0xc3,0x69,0x34,0x86,0xd0,0xe4,0x78,0x43,0xeb,0xac,0x31,0xfb};
    int          cmp88        = 0;
    uint256_from_bytes(a, a88_data);
    uint256_from_bytes(b, b88_data);
    if (uint256_cmp(a, b) != cmp88)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a89_data[32] = {0xca,0xaa,0x8e,0x50,0x02,0x66,0x0c,0x0a,0xc0,0x4a,0x4a,0x4c,0x96,0x1d,0x8b,0xc0,0x41,0x36,0x49,0xb2,0xed,0x0e,0x45,0x28,0x34,0xe2,0xd3,0xb9,0xb5,0x55,0xb9,0xfa};
    std::uint8_t b89_data[32] = {0xca,0xaa,0x8e,0x50,0x02,0x66,0x0c,0x0a,0xc0,0x4a,0x4a,0x4c,0x96,0x1d,0x8b,0xc0,0x41,0x36,0x49,0xb2,0xed,0x0e,0x45,0x28,0x34,0xe2,0xd3,0xb9,0xb5,0x55,0xb9,0xfa};
    int          cmp89        = 0;
    uint256_from_bytes(a, a89_data);
    uint256_from_bytes(b, b89_data);
    if (uint256_cmp(a, b) != cmp89)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a90_data[32] = {0x52,0x2c,0x95,0x83,0x85,0x98,0x85,0x3a,0xd5,0x54,0xfc,0x05,0xe2,0x95,0x85,0x12,0x42,0x71,0x50,0x46,0xe5,0x9d,0x25,0x52,0x85,0x62,0xda,0x19,0x94,0x60,0x09,0xc1};
    std::uint8_t b90_data[32] = {0x08,0x98,0xa3,0x7e,0x18,0x15,0xf0,0x7d,0x05,0x44,0x15,0x2f,0x9b,0x6d,0x4e,0xb5,0x84,0xfb,0x1f,0x3f,0x47,0xd1,0xff,0xb9,0x58,0x4c,0xc9,0x2f,0x07,0xc5,0x97,0xf7};
    int          cmp90        = 1;
    uint256_from_bytes(a, a90_data);
    uint256_from_bytes(b, b90_data);
    if (uint256_cmp(a, b) != cmp90)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a91_data[32] = {0x47,0xa2,0x93,0xf3,0xc7,0x79,0x0c,0x37,0xec,0xed,0x43,0x01,0x42,0xf8,0x03,0xf4,0x36,0xad,0x61,0xdd,0x91,0x32,0xf7,0xad,0x96,0x32,0xb0,0x91,0x7c,0x7f,0x2c,0xba};
    std::uint8_t b91_data[32] = {0x47,0xa2,0x93,0xf3,0xc7,0x79,0x0c,0x37,0xec,0xed,0x43,0x01,0x42,0xf8,0x03,0xf4,0x36,0xad,0x61,0xdd,0x91,0x32,0xf7,0xad,0x96,0x32,0xb0,0x91,0x7c,0x7f,0x2c,0xba};
    int          cmp91        = 0;
    uint256_from_bytes(a, a91_data);
    uint256_from_bytes(b, b91_data);
    if (uint256_cmp(a, b) != cmp91)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a92_data[32] = {0x15,0x6a,0x81,0x10,0x60,0xd1,0xd9,0x05,0x2e,0x44,0xac,0xcb,0xfe,0x9f,0x0b,0xb4,0x33,0x74,0x05,0xbf,0x56,0xbe,0x6d,0x2a,0x09,0xb1,0xe1,0xfb,0xd7,0xff,0xc8,0xcd};
    std::uint8_t b92_data[32] = {0x15,0x6a,0x81,0x10,0x60,0xd1,0xd9,0x05,0x2e,0x44,0xac,0xcb,0xfe,0x9f,0x0b,0xb4,0x33,0x74,0x05,0xbf,0x56,0xbe,0x6d,0x2a,0x09,0xb1,0xe1,0xfb,0xd7,0xff,0xc8,0xcd};
    int          cmp92        = 0;
    uint256_from_bytes(a, a92_data);
    uint256_from_bytes(b, b92_data);
    if (uint256_cmp(a, b) != cmp92)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a93_data[32] = {0xf0,0x7b,0x3e,0x87,0x01,0x7a,0xa2,0x81,0xc1,0x44,0x73,0xca,0x51,0x53,0xa4,0xe3,0x25,0x11,0x74,0x12,0x19,0xde,0xdb,0x49,0x0e,0x46,0xcc,0xb3,0x7b,0xc1,0xbd,0xc0};
    std::uint8_t b93_data[32] = {0xf0,0x7b,0x3e,0x87,0x01,0x7a,0xa2,0x81,0xc1,0x44,0x73,0xca,0x51,0x53,0xa4,0xe3,0x25,0x11,0x74,0x12,0x19,0xde,0xdb,0x49,0x0e,0x46,0xcc,0xb3,0x7b,0xc1,0xbd,0xc0};
    int          cmp93        = 0;
    uint256_from_bytes(a, a93_data);
    uint256_from_bytes(b, b93_data);
    if (uint256_cmp(a, b) != cmp93)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a94_data[32] = {0x61,0x30,0x7c,0x05,0x7b,0x37,0x56,0x98,0x5f,0xfe,0xe5,0x5e,0x1f,0xc7,0xdf,0x73,0x63,0xda,0x31,0x77,0x41,0xcb,0x71,0x2f,0x5f,0x26,0xf2,0x1f,0x52,0xec,0x51,0x27};
    std::uint8_t b94_data[32] = {0x03,0x3a,0xac,0xd6,0xe4,0x65,0x3d,0x35,0xad,0x79,0xfd,0xdc,0xea,0x0f,0x77,0x18,0x24,0xa5,0x6e,0xdd,0xce,0xbb,0xdc,0xb7,0x3d,0x0b,0x8c,0x43,0x70,0xfe,0x98,0xa0};
    int          cmp94        = 1;
    uint256_from_bytes(a, a94_data);
    uint256_from_bytes(b, b94_data);
    if (uint256_cmp(a, b) != cmp94)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a95_data[32] = {0x38,0x76,0x1d,0xc7,0xd5,0x34,0xc0,0x87,0xed,0x7c,0x5d,0xa0,0x28,0x2e,0x47,0x8c,0x09,0x38,0x1e,0xfa,0xcc,0x81,0x63,0x56,0x31,0xf2,0x51,0xc2,0xe9,0x9f,0x4a,0x92};
    std::uint8_t b95_data[32] = {0xc7,0x3f,0xa9,0x08,0x23,0xc7,0x7e,0x7a,0xbf,0xc4,0x3f,0xf7,0xe3,0x82,0x56,0x93,0x5f,0x83,0x2e,0xb6,0xdd,0xe3,0x74,0xd1,0x9e,0x60,0x14,0xef,0xef,0x19,0x19,0xe4};
    int          cmp95        = -1;
    uint256_from_bytes(a, a95_data);
    uint256_from_bytes(b, b95_data);
    if (uint256_cmp(a, b) != cmp95)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a96_data[32] = {0x5d,0xb4,0x47,0x41,0xa0,0xd0,0x9c,0x62,0x1d,0x98,0xa4,0x74,0x7a,0x3f,0xf3,0x11,0x3b,0xdf,0xae,0x68,0xd2,0xb4,0x1d,0x4f,0x52,0x93,0xa8,0x07,0x56,0xfb,0xc2,0xf1};
    std::uint8_t b96_data[32] = {0x3f,0x2b,0x77,0x13,0x69,0x6a,0x86,0x17,0x6b,0x13,0x49,0x07,0x44,0x32,0x94,0x63,0x26,0x3e,0x8d,0xb3,0xde,0xe7,0xb6,0x44,0x70,0x60,0x67,0xab,0x25,0x0b,0xc6,0xe7};
    int          cmp96        = 1;
    uint256_from_bytes(a, a96_data);
    uint256_from_bytes(b, b96_data);
    if (uint256_cmp(a, b) != cmp96)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a97_data[32] = {0x42,0xbb,0x68,0xde,0x2a,0xf4,0xcc,0xe5,0xcd,0xdc,0x68,0xd6,0x55,0xa2,0x5f,0x59,0x4b,0xea,0xc5,0x05,0xd6,0xed,0x9f,0xdf,0x92,0x2c,0x6c,0x73,0x45,0x67,0x46,0xfe};
    std::uint8_t b97_data[32] = {0x42,0xbb,0x68,0xde,0x2a,0xf4,0xcc,0xe5,0xcd,0xdc,0x68,0xd6,0x55,0xa2,0x5f,0x59,0x4b,0xea,0xc5,0x05,0xd6,0xed,0x9f,0xdf,0x92,0x2c,0x6c,0x73,0x45,0x67,0x46,0xfe};
    int          cmp97        = 0;
    uint256_from_bytes(a, a97_data);
    uint256_from_bytes(b, b97_data);
    if (uint256_cmp(a, b) != cmp97)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a98_data[32] = {0xfd,0xb3,0x8c,0x62,0x6e,0x9b,0x73,0x43,0x5d,0x41,0x73,0x73,0xf8,0x7f,0xcf,0x8e,0x33,0x9d,0x7c,0xf8,0xc1,0x3d,0xe7,0xcf,0x41,0xfe,0xbb,0x34,0x1e,0x83,0x2d,0x72};
    std::uint8_t b98_data[32] = {0x71,0x68,0xfc,0xfb,0x23,0xe0,0x70,0x9e,0x82,0xc2,0xc4,0xba,0x57,0x45,0x9c,0xec,0x81,0xfe,0xaf,0x2b,0xce,0x99,0x10,0x6f,0x71,0x2e,0x17,0xf6,0x04,0x1a,0x72,0x12};
    int          cmp98        = 1;
    uint256_from_bytes(a, a98_data);
    uint256_from_bytes(b, b98_data);
    if (uint256_cmp(a, b) != cmp98)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
    std::uint8_t a99_data[32] = {0x37,0xe0,0x35,0xbc,0x68,0xb0,0x53,0xed,0xe9,0x77,0x9c,0x99,0x0a,0x61,0x58,0xeb,0x6f,0x6c,0x80,0xfa,0x5c,0x2f,0x76,0x26,0x2f,0x91,0xf0,0xc5,0x49,0x51,0x25,0xcc};
    std::uint8_t b99_data[32] = {0x7e,0x36,0x5e,0x8a,0xf2,0x15,0x9f,0xf5,0xdd,0x50,0x38,0xa4,0xa3,0xa1,0x5d,0x24,0xd7,0x87,0x46,0x50,0x48,0x21,0x46,0xd2,0x55,0xd0,0xf0,0x51,0x58,0xff,0x06,0x24};
    int          cmp99        = -1;
    uint256_from_bytes(a, a99_data);
    uint256_from_bytes(b, b99_data);
    if (uint256_cmp(a, b) != cmp99)
    {
        throw std::runtime_error("err in uint256_cmp");
    }
}
